Federico Mena Quintero [Fri, 25 Jan 2002 21:34:18 +0000 (21:34 +0000)]
Merge from gdk-pixbuf stable.
2002-01-25 Federico Mena Quintero <federico@ximian.com>
Merge from gdk-pixbuf stable.
* gdk/gdkpixbuf-drawable.c (rgb565msb): Fixed the endianness
conversion --- swap the individual 16 bit values instead of taking
everying as a 32 bit value.
(rgb565lsb): Likewise.
(rgb555lsb): Likewise.
(rgb555msb): Likewise.
Alex Larsson [Fri, 25 Jan 2002 17:10:03 +0000 (17:10 +0000)]
Implement copy_to_image instead of get_image
2002-01-25 Alex Larsson <alexl@redhat.com>
* gdk/linux-fb/gdkdrawable-fb2.c (gdk_drawable_impl_fb_class_init):
Implement copy_to_image instead of get_image
* gdk/linux-fb/gdkimage-fb.c:
Implement _gdk_image_new_for_depth, _gdk_windowing_get_bits_for_depth and
_gdk_fb_copy_to_image.
Based in part on patch from Mathieu Lacage <mathieu_lacage@realmagic.fr>
* gdk/linux-fb/gdkmain-fb.c:
Make ENABLE_FB_MANAGER region larger.
* gdk/linux-fb/gdkprivate-fb.h:
Change _gdk_fb_get_image to _gdk_fb_copy_to_image.
Sven Neumann [Fri, 25 Jan 2002 14:34:20 +0000 (14:34 +0000)]
changed the comment so that gtk-doc doesn't get confused.
2002-01-25 Sven Neumann <sven@gimp.org>
* gtk/gtkwindow.c (gtk_window_get_size): changed the comment so
that gtk-doc doesn't get confused.
Tim Janik [Fri, 25 Jan 2002 13:22:00 +0000 (13:22 +0000)]
assert that the passed in arrow is always _UP or _DOWN, this catches false
Fri Jan 25 14:03:36 2002 Tim Janik <timj@gtk.org>
* gtk/gtkspinbutton.c (gtk_spin_button_draw_arrow): assert
that the passed in arrow is always _UP or _DOWN, this catches
false invocations which lead to drawing artefacts.
(start_spinning): likewise, i.e. sanity check the passed in arrow.
(gtk_spin_button_button_release): fix arrow redrawing.
(gtk_spin_button_button_press): must set click_child for
button3 even if we don't take spinning action right away.
* gtk/gtkspinbutton.h (struct _GtkSpinButton): document
valid values for click_child.
Kristian Rietveld [Thu, 24 Jan 2002 22:07:35 +0000 (22:07 +0000)]
update docs, return current FALSE if x is smaller than the current visible
Thu Jan 24 23:03:24 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): update docs,
return current FALSE if x is smaller than the current visible area,
not than the requested area, don't correct y coordinate,
TREE_WINDOW_Y_TO_RBTREE_Y will do that. Fixes #67477.
Hasbullah Bin Pit [Thu, 24 Jan 2002 21:49:44 +0000 (21:49 +0000)]
Updated Malay Translation.
2002-01-24 Hasbullah Bin Pit <sebol@ikhlas.com>
* ms.po : Updated Malay Translation.
Jonathan Blandford [Thu, 24 Jan 2002 20:42:48 +0000 (20:42 +0000)]
fix column reordering fully. (gtk_tree_view_size_allocate): fix evil bug.
Thu Jan 24 15:41:08 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c
(gtk_tree_view_motion_draw_column_motion_arrow): fix column
reordering fully.
(gtk_tree_view_size_allocate): fix evil bug.
Owen Taylor [Thu, 24 Jan 2002 16:54:54 +0000 (16:54 +0000)]
Don't clear the model until we clean up all the other objects that might
Thu Jan 24 11:53:19 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_destroy): Don't clear
the model until we clean up all the other objects
that might refer to the object.
Mark McLoughlin [Thu, 24 Jan 2002 15:59:37 +0000 (15:59 +0000)]
include gtk/gtkwidget.h
2002-01-24 Mark McLoughlin <mark@skynet.ie>
* gtk/gtkaccessible.h: include gtk/gtkwidget.h
Owen Taylor [Thu, 24 Jan 2002 01:36:39 +0000 (01:36 +0000)]
Use insensitive state for insensitive arrows, not just an "etched state".
Wed Jan 23 20:28:59 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_draw_arrow):
Use insensitive state for insensitive arrows, not
just an "etched state". (#67172, Adrian Custer)
Manish Singh [Thu, 24 Jan 2002 00:29:49 +0000 (00:29 +0000)]
use a variable that's actually been declared.
2002-01-23 Manish Singh <yosh@gimp.org>
* gtk/gtkentry.c (gtk_entry_set_text): use a variable that's actually
been declared.
Damon Chaplin [Wed, 23 Jan 2002 23:58:41 +0000 (23:58 +0000)]
set minimum gtk-doc version to 0.9, since we need to use the new
2002-01-23 Damon Chaplin <damon@ximian.com>
* configure.in (gtk_doc_min_version): set minimum gtk-doc version to
0.9, since we need to use the new --type-init-func argument for
gtkdoc-scangobj.
Damon Chaplin [Wed, 23 Jan 2002 23:52:43 +0000 (23:52 +0000)]
added SCANGOBJ_OPTIONS to set the type-init-func to pass to
2002-01-23 Damon Chaplin <damon@ximian.com>
* gtk/Makefile.am: added SCANGOBJ_OPTIONS to set the type-init-func
to pass to gtkdoc-scangobj.
Matthias Clasen [Wed, 23 Jan 2002 23:46:25 +0000 (23:46 +0000)]
Remove excessive g_return_if_fail() calls. (#57615)
* gtk/gtkentry.c, gtk/gtkwidget.c: Remove excessive
g_return_if_fail() calls. (#57615)
Matthias Clasen [Wed, 23 Jan 2002 22:51:01 +0000 (22:51 +0000)]
Make it work for paths with underline accelerators. (#69247)
* gtk/gtkitemfactory.c (gtk_item_factory_delete_entries): Make
it work for paths with underline accelerators. (#69247)
Owen Taylor [Wed, 23 Jan 2002 20:15:48 +0000 (20:15 +0000)]
Stop spinning if widget becomes insensitive. (#56248)
Wed Jan 23 15:12:16 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkspinbutton.c (gtk_spin_button_state_changed):
Stop spinning if widget becomes insensitive. (#56248)
Owen Taylor [Wed, 23 Jan 2002 19:51:43 +0000 (19:51 +0000)]
Decreate value since we now use doubles.
Wed Jan 23 14:44:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkspinbutton.c (EPSILON): Decreate value since
we now use doubles.
Jonathan Blandford [Wed, 23 Jan 2002 03:53:36 +0000 (03:53 +0000)]
Oops. Minor fix
Manish Singh [Tue, 22 Jan 2002 23:06:11 +0000 (23:06 +0000)]
remove old files (they live in the tests dir now)
-Yosh
Manish Singh [Tue, 22 Jan 2002 22:57:51 +0000 (22:57 +0000)]
shut up CVS
Jonathan Blandford [Tue, 22 Jan 2002 22:13:30 +0000 (22:13 +0000)]
Fix sizing bug I introduced accidentally, #69358
Tue Jan 22 16:58:37 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): Fix sizing bug
I introduced accidentally, #69358
Padraig O'Briain [Tue, 22 Jan 2002 15:44:20 +0000 (15:44 +0000)]
Update last change to prevent core dump
* gtk/gtktreestore.c (gtk_tree_store_iter_children):
Update last change to prevent core dump
Jonathan Blandford [Tue, 22 Jan 2002 05:00:50 +0000 (05:00 +0000)]
change guint16 to gint to reflect changes in the code, found by Jody
Mon Jan 21 23:39:42 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/tmpl/gtkfixed.sgml: change guint16 to gint to reflect
changes in the code, found by Jody Goldberg <jody@gnome.org>
Kristian Rietveld [Tue, 22 Jan 2002 00:21:40 +0000 (00:21 +0000)]
add some more stamp checks (pointed out by Anders Carlsson)
Mon Jan 21 01:21:54 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreestore.c: add some more stamp checks (pointed out
by Anders Carlsson)
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_insert_value): don't
assume _row_changed will insert sort (because _row_changed doesn't
need to follow this signal), so apply insert sort here
(gtk_tree_model_sort_level_find_insert): header doesn't need to be
set here, so use a return instead of g_return_val_if_fail.
Jonathan Blandford [Mon, 21 Jan 2002 23:30:17 +0000 (23:30 +0000)]
Update top_row. Remove extraneous print statements.
Mon Jan 21 18:28:17 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_adjustment_changed): Update
top_row. Remove extraneous print statements.
Matthias Clasen [Mon, 21 Jan 2002 18:44:20 +0000 (18:44 +0000)]
Document allowed values for ifactory.
* gtk/gtkitemfactory.c (gtk_item_factory_popup,
gtk_item_factory_popup_with_data): Document allowed values
for ifactory.
* gtk/gtkitemfactory.c (gtk_item_factory_delete_entry): Make
it work for paths with underline accelerators.
Jonathan Blandford [Mon, 21 Jan 2002 17:38:28 +0000 (17:38 +0000)]
only resize the window.
Fri Jan 18 16:31:21 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): only resize the
window.
Owen Taylor [Mon, 21 Jan 2002 17:04:47 +0000 (17:04 +0000)]
Trap the case where there is no default widget and the entry is the focus
Mon Jan 21 11:56:31 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_real_activate): Trap the
case where there is no default widget and the entry
is the focus widget, since this also causes infinite
recursion. (#69158)
Owen Taylor [Mon, 21 Jan 2002 16:50:45 +0000 (16:50 +0000)]
Set the fallback program class here, rather than
Mon Jan 21 11:46:39 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_init_check): Set the fallback program class here,
rather than lazilygdk_get_program_class(), since we don't want
-name to override it. (#69123, Ryan Lovett)
Owen Taylor [Mon, 21 Jan 2002 15:41:47 +0000 (15:41 +0000)]
Fix wrong types for command line arguments (#69124, Ryan Lovett)
Mon Jan 21 10:29:45 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c: Fix wrong types for command line arguments
(#69124, Ryan Lovett)
* gdk/gdk.c (gdk_arg_context_parse): Fix bug in parsing
parsing '--arg VALUE'.
* gdk/gdk.c: Remove unused variable gdk_error_trap_free_list.
Erwann Chenede [Mon, 21 Jan 2002 13:37:16 +0000 (13:37 +0000)]
file movedemo.c was initially added on branch gtk-multihead.
Erwann Chenede [Mon, 21 Jan 2002 13:37:16 +0000 (13:37 +0000)]
file multidisplay.c was initially added on branch gtk-multihead.
Erwann Chenede [Mon, 21 Jan 2002 13:37:16 +0000 (13:37 +0000)]
file multiscreen.c was initially added on branch gtk-multihead.
Erwann Chenede [Mon, 21 Jan 2002 13:37:16 +0000 (13:37 +0000)]
file virtualscreen.c was initially added on branch gtk-multihead.
Havoc Pennington [Mon, 21 Jan 2002 05:58:33 +0000 (05:58 +0000)]
mention that window arg can be NULL
2002-01-21 Havoc Pennington <hp@pobox.com>
* gdk/gdkwindow.c (gdk_window_add_filter): mention that window
arg can be NULL
Manish Singh [Sun, 20 Jan 2002 04:52:47 +0000 (04:52 +0000)]
Made sure all the error cases involving jpeg or png load/saves clean
Sat Jan 19 20:49:20 2002 Manish Singh <yosh@gimp.org>
* io-jpeg.c, io-png.c: Made sure all the error cases involving
jpeg or png load/saves clean themselves up properly. Marked some
variables needed for cleanup volatile so they aren't clobbered by
setjmp.
Owen Taylor [Sun, 20 Jan 2002 02:16:54 +0000 (02:16 +0000)]
Move back into gtk-engines
Kristian Rietveld [Sat, 19 Jan 2002 20:15:56 +0000 (20:15 +0000)]
fix a load of open line ends (cell_edited): modified patch from German Poo
Sat Jan 19 20:49:41 2002 Kristian Rietveld <kris@gtk.org>
* demos/gtk-demo/editable_cells.c: fix a load of open line ends
(cell_edited): modified patch from German Poo Caaman~o
to fix up old_text declaration and free the memory
(do_editable_cells): unref the model after creating the treeview
* demos/gtk-demo/list_store.c: fix a load of open line ends,
(add_columns): set the sort column id, so we can sort
* demos/gtk-demo/tree_store.c: fix a load of open line ends,
(do_tree_store): unref the model after creating the treeview
Havoc Pennington [Sat, 19 Jan 2002 18:51:48 +0000 (18:51 +0000)]
link to new X11 section in a lot of places when mentioning the window
2002-01-19 Havoc Pennington <hp@pobox.com>
* gtk/gtkwindow.c: link to new X11 section in a lot of places when
mentioning the window manager.
* gtk/gtkwidget.c (gtk_widget_hide_on_delete): don't mention
window manager since we're portable.
2002-01-19 Havoc Pennington <hp@pobox.com>
* gtk/x11.sgml: add a mostly-empty X11 section
* gtk/framebuffer.sgml: make title consistent with windows section
* gtk/tmpl/gtkdrawingarea.sgml: couple of fixes
Jeff Garzik [Sat, 19 Jan 2002 17:54:11 +0000 (17:54 +0000)]
Wrap case values in GPOINTER_TO_UINT(). Fixes build with gcc 3.x.
Sat Jan 19 08:47:41 2002 Jeff Garzik <jgarzik@mandrakesoft.com>
* gdk/linux-fb/gdkproperty-fb.c (gdk_atom_name):
Wrap case values in GPOINTER_TO_UINT(). Fixes build with gcc 3.x.
* gtk/gtkmain.c: Include sys/types.h if G_OS_UNIX.
Fixes build with gcc 3.x and -ansi.
Duarte Loreto [Sat, 19 Jan 2002 17:30:46 +0000 (17:30 +0000)]
Updated Portuguese translation.
2002-01-19 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
Owen Taylor [Sat, 19 Jan 2002 07:52:52 +0000 (07:52 +0000)]
Catch invalid borders, and warn.
Sat Jan 19 02:45:17 2002 Owen Taylor <otaylor@redhat.com>
* src/pixbuf-render.c (theme_pixbuf_compute_hints): Catch
invalid borders, and warn.
Owen Taylor [Sat, 19 Jan 2002 07:28:56 +0000 (07:28 +0000)]
fix image file names
Owen Taylor [Sat, 19 Jan 2002 07:24:59 +0000 (07:24 +0000)]
add missed file
Owen Taylor [Sat, 19 Jan 2002 06:45:45 +0000 (06:45 +0000)]
Fix problems when an engine declaration occurs in a reopened style, and
Fri Jan 18 23:01:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c (gtk_rc_parse_style): Fix problems when
an engine declaration occurs in a reopened style, and
g_free() of objects when errors occur.
Owen Taylor [Sat, 19 Jan 2002 05:39:43 +0000 (05:39 +0000)]
Add an extrodinarily ugly example.
Sat Jan 19 00:32:14 2002 Owen Taylor <otaylor@redhat.com>
* examples/*: Add an extrodinarily ugly example.
* src/pixbuf-draw.c (draw_simple_image): Never shape
the window, even if we are allowed to. Shaping is
ugly -- if the widget isn't NO_WINDOW (most are),
you'll just have to draw it rectangular.
* src/pixbuf-render.c (pixbuf_render): Always use
gdk_pixbuf_render_alpha() with FULL_ALPHA() as the
type.
* pixbuf.h src/pixbuf-render.c (theme_pixbuf_compute_hints): To
speed up scaling, cache whether pixbufs have constant rows
or constant columns.
* src/pixbuf-render.c (pixbuf_render): Speed up scaling
by using the hints from compute_hints().
Owen Taylor [Fri, 18 Jan 2002 23:14:45 +0000 (23:14 +0000)]
Fix for changes to draw_focus.
Fri Jan 18 18:14:11 2002 Owen Taylor <otaylor@redhat.com>
* src/pixbuf-draw.c (draw_focus): Fix for changes to draw_focus.
Matthias Clasen [Fri, 18 Jan 2002 21:37:31 +0000 (21:37 +0000)]
Clarify documentation. (#69026)
* gtk/gtkitemfactory.c (gtk_item_factory_get_widget_by_action):
Clarify documentation. (#69026)
* gtk/gtkprogressbar.c (gtk_progress_bar_size_request): Fix
missing initialization of adjustment. (#69025)
Yuri Syrota [Fri, 18 Jan 2002 10:08:16 +0000 (10:08 +0000)]
Updated Ukrainian translation
Raja R Harinath [Fri, 18 Jan 2002 04:21:24 +0000 (04:21 +0000)]
Simplify Makefiles. <URL: bugzilla.gnome.org/show_bug.cgi?id=68969>
Simplify Makefiles.
<URL: http://bugzilla.gnome.org/show_bug.cgi?id=68969>
* gdk/Makefile.am: Remove use of automake conditionals to pick
library to build.
* gtk/Makefile.am: Likewise.
* gdk/Makefile.am (LDFLAGS): Use $(libdir), not @prefix@/lib.
* gtk/Makefile.am (LDFLAGS): Likewise.
Owen Taylor [Fri, 18 Jan 2002 01:18:05 +0000 (01:18 +0000)]
Fix missing allocation.x/y offsets. (#68962, Jacob Berkman)
Thu Jan 17 20:13:14 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_redraw_tabs): Fix
missing allocation.x/y offsets. (#68962, Jacob
Berkman)
* gtk/gtknotebook.c (gtk_notebook_size_allocate):
Queue a redraw on the entire widget if we hide
the last page or show the first. (Also #68962)
Havoc Pennington [Fri, 18 Jan 2002 00:45:50 +0000 (00:45 +0000)]
change GTK_MOVEMENT_PARAGRAPHS to go to start/end of paragraph before it
2002-01-17 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): change
GTK_MOVEMENT_PARAGRAPHS to go to start/end of paragraph before it
starts to go up/down paragraphs. This makes Ctrl+Up/Ctrl+Down work
as in the keynav spec, though it makes the interpretation of
GTK_MOVEMENT_PARAGRAPHS different from the interpretation of some
of the other GTK_MOVEMENT_ thingies, maybe, as if that enum makes
any sense anyhow.
Jonathan Blandford [Fri, 18 Jan 2002 00:23:26 +0000 (00:23 +0000)]
For some reason, I was activating a row while just selecting it. Reported
Thu Jan 17 16:34:55 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): For
some reason, I was activating a row while just selecting it.
Reported by andersca.
(gtk_tree_view_size_request): add a
validate_rows_handler to give us a rough width of the widget.
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
Queue a resize here just in case. It's needed in over half the
cases, and I don't want to do a diff to figure out exactly when
it's needed.
Matthias Clasen [Fri, 18 Jan 2002 00:10:23 +0000 (00:10 +0000)]
More composite children.
Matthias Clasen [Thu, 17 Jan 2002 23:43:23 +0000 (23:43 +0000)]
Mark children as composite. (#66360)
* gtk/gtkcolorsel.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c:
Mark children as composite. (#66360)
* gtk/gtkwidget.c (gtk_widget_push_composite_child): Explain
composite children some more. (#66360)
Matthias Clasen [Thu, 17 Jan 2002 23:04:19 +0000 (23:04 +0000)]
tiny markup fix
Havoc Pennington [Thu, 17 Jan 2002 22:38:18 +0000 (22:38 +0000)]
new function (which I then decided not to use but I think it's needed to
2002-01-17 Havoc Pennington <hp@redhat.com>
* gtk/gtktextlayout.c (_gtk_text_layout_get_line_xrange): new
function (which I then decided not to use but I think it's needed
to fix #68963
* gtk/gtktextview.c: add page_horizontally action signal and
implement Ctrl+PgUp, Ctrl+PgDown based on patch from Padraig,
hackily modified to avoid adding GTK_MOVEMENT_ API. Part of
#53934
* gtk/gtkmarshalers.list: add NONE:INT,BOOL
Owen Taylor [Thu, 17 Jan 2002 22:28:02 +0000 (22:28 +0000)]
Call gtk_selection_remove_all() here, not in destroy/ finalize. (#66636,
Thu Jan 17 17:02:38 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_real_unrealize): Call
gtk_selection_remove_all() here, not in destroy/
finalize. (#66636, Sergey Vlasov)
* gtk/gtkselection.c (gtk_selection_request): Fix
reentrancy problem with multiple conversions.
* gtk/gtkselection.c (gtk_selection_remove_all):
Don't remove incrs, we don't need the widget for
maintain the incr.
* gtk/gtkselection.c (struct _GtkIncrInfo): Remove
the widget field from here, we don't need it.
Owen Taylor [Thu, 17 Jan 2002 20:45:23 +0000 (20:45 +0000)]
Move here, and save/restore the X error handler to allow people using GTK+
Thu Jan 17 13:08:34 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkmain-x11.c (gdk_error_trap_push): Move
here, and save/restore the X error handler to allow
people using GTK+ to set the X error handler to something
custom without disturbing the operation of GDK.
* gdk/linux-fb/gdkmain-fb.c (gdk_error_trap_push)
* gdk/win32/gdkmain-win32.c (gdk_error_trap_pop): Add
dummy implementations.
* gdk/x11/gdkmain-x11.c gdk/x11/gdkevents-x11.c
gdk/x11/gdkdnd-x11.c: Use gdk_error_trap_push()/pop()
for all error trapping.
* gdk/x11/gdkdnd-x11.c: Remove '#if 0' code.
* gdk/x11/gdkdnd-x11.c (gdk_window_cache_new): Fix
problem where we would add the results anyways,
and then add it again if no error occurred, and problem
where we could leave _gdk_error_warnings() unset.
Owen Taylor [Thu, 17 Jan 2002 01:37:31 +0000 (01:37 +0000)]
Fix calculation error in the (shouldn't happen) case where
Wed Jan 16 12:16:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkoptionmenu.c (gtk_option_menu_size_request): Fix
calculation error in the (shouldn't happen) case where
option_menu->height < child_requisition.height. (Patch
from Jacob Berkman, #66969)
Owen Taylor [Thu, 17 Jan 2002 01:37:06 +0000 (01:37 +0000)]
Fix "deleting" filename by adding another boolean parameter to
Wed Jan 16 20:28:38 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c: Fix "deleting" filename by adding
another boolean parameter to file_selection_populate() -
whether to clear the entry. Also, never fill in the
entry when the user clicks on something in the
directory list. (#6791, Reported by Jos Dehaes and many,
many, many others.)
Havoc Pennington [Thu, 17 Jan 2002 01:08:59 +0000 (01:08 +0000)]
update cursor_y_pos with clamped delta rather than theoretical delta
2002-01-16 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_scroll_pages): update
cursor_y_pos with clamped delta rather than theoretical delta
(#68788). Also, if we can't page up/down further then jump
to top/bottom of the document.
Owen Taylor [Thu, 17 Jan 2002 00:53:50 +0000 (00:53 +0000)]
Refresh the dialog on map. (#52877, inspired by request from Murray
Wed Jan 16 19:33:41 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (gtk_file_selection_map): Refresh
the dialog on map. (#52877, inspired by request from
Murray Cumming)
Owen Taylor [Thu, 17 Jan 2002 00:34:58 +0000 (00:34 +0000)]
Support "optional" bindings. If a binding signal has a boolean return
Wed Jan 16 19:23:04 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbindings.c (gtk_binding_entry_activate):
Support "optional" bindings. If a binding signal
has a boolean return value, and returns FALSE it
is as if it didn't exist all.
* gtk/gtkbindings.c (binding_compose_params): Switch
over to GValue.
* gtk/gtknotebook.[ch]: Make the select_page() and
change_current_page() signals only take effect when
the focus is on the tab area so that key presses
in children pass up to the toplevel correctly.
Matthias Clasen [Wed, 16 Jan 2002 19:12:47 +0000 (19:12 +0000)]
Deprecate. (#68183)
* gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
* gtk/gtkscale.h (gtk_scale_value_width): Remove useless
compatibility macro. (#67730)
* gtk/changes-2.0.sgml: Details about GtkRange and subclasses
rewrite. (#67730)
Owen Taylor [Wed, 16 Jan 2002 15:55:38 +0000 (15:55 +0000)]
Fix typo in --help output. (Arnaud Charlet).
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix typo in --help output.
(Arnaud Charlet).
Owen Taylor [Wed, 16 Jan 2002 15:31:42 +0000 (15:31 +0000)]
Add gtkstockpixbufs.h.
Wed Jan 16 10:18:42 2002 Owen Taylor <otaylor@redhat.com>
* gtk/stock-icons/Makefile.am (EXTRA_DIST): Add
gtkstockpixbufs.h.
* configure.in: Make TIFF, JPEG, PNG loaders mandatory
unless you configure with --without-libtiff, etc.
(#54045, Brian Cameron)
Yuri Syrota [Wed, 16 Jan 2002 15:11:21 +0000 (15:11 +0000)]
Updated Ukrainian translation
Yuri Syrota [Wed, 16 Jan 2002 14:26:02 +0000 (14:26 +0000)]
Updated Ukrainian translation
Yuri Syrota [Wed, 16 Jan 2002 14:02:47 +0000 (14:02 +0000)]
Updated Ukrainian translation
Yuri Syrota [Wed, 16 Jan 2002 11:02:22 +0000 (11:02 +0000)]
Updated Ukrainian translation
Yuri Syrota [Wed, 16 Jan 2002 10:19:32 +0000 (10:19 +0000)]
Updated Ukrainian translation
Padraig O'Briain [Wed, 16 Jan 2002 08:53:15 +0000 (08:53 +0000)]
Avoid unexpected warning message when navigating menu (#68517)
* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
Avoid unexpected warning message when navigating menu (#68517)
Jody Goldberg [Wed, 16 Jan 2002 06:02:41 +0000 (06:02 +0000)]
set_boxed will copy the color and will use a mem_chunk to do it. Avoid an
2002-01-13 Jody Goldberg <jody@gnome.org>
* gtk/gtktexttag.c (get_color_arg) : set_boxed will copy the color
and will use a mem_chunk to do it. Avoid an unnecessary copy, a
leak, and confusion.
Jody Goldberg [Wed, 16 Jan 2002 06:01:31 +0000 (06:01 +0000)]
It is possible that a GtkLayout may have been scrolled _before_ it was
2002-01-15 Jody Goldberg <jody@gnome.org>
* gtk/gtklayout.c (gtk_layout_realize) : It is possible that a
GtkLayout may have been scrolled _before_ it was realized.
Roy-Magne Mo [Wed, 16 Jan 2002 01:21:03 +0000 (01:21 +0000)]
Updated Norwegian (nynorsk) translation.
Owen Taylor [Wed, 16 Jan 2002 01:07:11 +0000 (01:07 +0000)]
Stop the timer on destroy, or when we are notified that we are shadowed by
Tue Jan 15 18:10:24 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkspinbutton.c (gtk_spin_button_grab_notify): Stop
the timer on destroy, or when we are notified that we are
shadowed by a modal dialog.
* gtk/gtkspinbutton.c: Remove explicit gtk_grab_add()/remove() -
not needed any more.
* gtk/gtkmain.c (gtk_grab_notify): Fix problem where notifications
weren't sent out for the default grab group.
* gtk/gtkmain.c (gtk_grab_notify): Fix notification of widgets that
were getting events because they were part of the previous grab.
Owen Taylor [Tue, 15 Jan 2002 17:40:44 +0000 (17:40 +0000)]
focus the activated tab, not the page. (#53612)
Tue Jan 15 12:23:33 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_mnemonic_activate_switch_page):
focus the activated tab, not the page. (#53612)
* gtk/gtknotebook.c (gtk_notebook_set_focus_child): Track
the last focus descendant of the page.
* gtk/gtknotebook.c (gtk_notebook_real_switch_page): If the focus
was on the previous page, move it to the last focused widget /
first element on the new page, if possible, or if not, to the
notebook itself. (#68224, reported by Jonathan Blandford)
* gtk/gtknotebook.c (focus_tabs_in): Don't focus tabs
tabs aren't visible. (#65462, Damon Chaplin, fixed based
on patch from Anders Carlsson)
Vitaly Tishkov [Tue, 15 Jan 2002 16:35:01 +0000 (16:35 +0000)]
gtk/gtkstyle.c a misprint in documentation for gtk_style_render_icon () is
2002-01-15 Vitaly Tishkov <tvv@sparc.spb.su>
* gtk/gtkstyle.c
a misprint in documentation for gtk_style_render_icon () is fixed
Tim Janik [Tue, 15 Jan 2002 13:24:03 +0000 (13:24 +0000)]
map event_window after mapping child, so we don't loose events.
Mon Jan 14 23:21:47 2002 Tim Janik <timj@gtk.org>
* gtk/gtkmenuitem.c (gtk_menu_item_map): map event_window after
mapping child, so we don't loose events.
Sven Neumann [Tue, 15 Jan 2002 11:20:00 +0000 (11:20 +0000)]
gtk/gtkaccellabel.h fixed documentation by syncing the parameter names
2002-01-15 Sven Neumann <sven@gimp.org>
* gtk/gtkaccellabel.h
* gtk/gtkitemfactory.c: fixed documentation by syncing the parameter
names used in headers and code.
jacob berkman [Tue, 15 Jan 2002 02:48:04 +0000 (02:48 +0000)]
close a comment block
2002-01-14 jacob berkman <jacob@ximian.com>
* gtk/gtkrc.c (gtk_rc_get_im_module_path): close a comment block
Kristian Rietveld [Tue, 15 Jan 2002 00:12:30 +0000 (00:12 +0000)]
fix a load of open line ends, (gtk_tree_model_sort_set_model): only free
Tue Jan 15 01:13:51 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c: fix a load of open line ends,
(gtk_tree_model_sort_set_model): only free root level if it's
!NULL
Matthias Clasen [Mon, 14 Jan 2002 23:24:47 +0000 (23:24 +0000)]
Documentation additions.
* gtk/gtkoldeditable.c, gtk/gtkrc.c,
gtk/gtkstyle.c: Documentation additions.
* gtk/gtkmenu.c (gtk_menu_set_accel_path),
gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path),
gtk/gtkwidget.c (gtk_widget_add_accelerator): Typo and markup fixes.
* gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Document.
* gtk/gtkaccelmap.c (gtk_accel_map_add_filter): Explain intended use.
* gtk/running.sgml: Add ids to some elements to make them
addressable as link targets.
Matthias Clasen [Mon, 14 Jan 2002 23:24:02 +0000 (23:24 +0000)]
Documentation additions.
* gtk/gtkoldeditable.c, gtk/gtkrc.c,
gtk/gtkstyle.c: Documentation additions.
* gtk/gtkmenu.c (gtk_menu_set_accel_path),
gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path),
gtk/gtkwidget.c (gtk_widget_add_accelerator): Typo and markup fixes.
* gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Document.
* gtk/gtkaccelmap.c (gtk_accel_map_add_filter): Explain intended use.
* gtk/running.sgml: Add ids to some elements to make them
addressable as link targets.
Owen Taylor [Mon, 14 Jan 2002 23:11:35 +0000 (23:11 +0000)]
Don't mangle sequences of consecutive \n or \r.
Mon Jan 14 17:14:13 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkselection-x11.c (sanitize_utf8): Don't
mangle sequences of consecutive \n or \r.
Jonathan Blandford [Mon, 14 Jan 2002 22:00:26 +0000 (22:00 +0000)]
allow cancel to happen.
Mon Jan 14 17:42:28 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_stop_editing): allow cancel to
happen.
* gtk/gtktreeview.c (install_presize_handler): only install the
handler if we're realized, #68056
Owen Taylor [Mon, 14 Jan 2002 21:52:15 +0000 (21:52 +0000)]
Unset initial_pos_set after the first configure request.
Mon Jan 14 16:35:58 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_move_resize): Unset
initial_pos_set after the first configure request.
Owen Taylor [Mon, 14 Jan 2002 08:20:22 +0000 (08:20 +0000)]
Fix problem where widget->requisition was being used instead of
Sun Jan 13 23:23:22 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_compute_hints): Fix problem where
widget->requisition was being used instead of
gtk_widget_get_child_requisition (), causing geometry widgets
with usizes to misbehave.
Sven Neumann [Mon, 14 Jan 2002 07:42:45 +0000 (07:42 +0000)]
g_getenv() returns a const string.
2002-01-14 Sven Neumann <sven@gimp.org>
* gtk/gtkrc.c: g_getenv() returns a const string.
Hasbullah Bin Pit [Mon, 14 Jan 2002 01:39:24 +0000 (01:39 +0000)]
Added ms at ALL_LINGUAS. Added Malay Translation. But not all translated
2002-01-14 Hasbullah Bin Pit <sebol@ikhlas.com>
* configure.in: Added ms at ALL_LINGUAS.
* po/ms.po: Added Malay Translation.
But not all translated :(
Matthias Clasen [Mon, 14 Jan 2002 00:45:31 +0000 (00:45 +0000)]
Minor fix.
Matthias Clasen [Mon, 14 Jan 2002 00:41:20 +0000 (00:41 +0000)]
Documentation.
* gtk/gtkitemfactory.c: Documentation.
* gtk/tmpl/gtkrc.sgml: Minor fixes.
Sven Neumann [Sun, 13 Jan 2002 20:13:34 +0000 (20:13 +0000)]
documentation cleanups.
2002-01-13 Sven Neumann <sven@gimp.org>
* gdk/gdkwindow.c: documentation cleanups.
Vasif Ismailoglu MD [Sun, 13 Jan 2002 10:57:24 +0000 (10:57 +0000)]
Updated Azerbaijani translation file
* az.po: Updated Azerbaijani translation file
Kristian Rietveld [Sun, 13 Jan 2002 00:22:04 +0000 (00:22 +0000)]
various cleanups, (get_child_iter_from_elt): removed,
Sun Jan 13 01:15:45 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c: various cleanups,
(get_child_iter_from_elt): removed,
(gtk_tree_model_sort_elt_get_path): rewritten to be a lot cleaner
and especially faster,
(gtk_tree_model_convert_iter_to_child_iter): use
gtk_tree_model_sort_elt_get_path
Matthias Clasen [Sat, 12 Jan 2002 22:02:54 +0000 (22:02 +0000)]
forgotten ChangeLog entry.
Sven Neumann [Sat, 12 Jan 2002 17:48:45 +0000 (17:48 +0000)]
Removed conflict markers from ChangeLog.
Kristian Rietveld [Sat, 12 Jan 2002 15:58:56 +0000 (15:58 +0000)]
revert Owen's change (using a strdupped string as object data), so the
Sat Jan 12 16:57:31 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
revert Owen's change (using a strdupped string as object data), so
the interactive search works again
Havoc Pennington [Sat, 12 Jan 2002 04:39:07 +0000 (04:39 +0000)]
sgml fixes
2002-01-11 Havoc Pennington <hp@pobox.com>
* gtk/running.sgml: sgml fixes
* gtk/tmpl/gtksignal.sgml: sgml fixes
* gtk/tmpl/gtklabel.sgml: do the intro section
2002-01-11 Havoc Pennington <hp@pobox.com>
* gtk/gtklabel.c: put in more links to Pango markup format docs
(gtk_label_set_justify): mention gtk_misc_set_alignment